//
//  WmcUsedWatermarkModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/5/19.
//

import Foundation

struct WmcUsedWatermarkModel: YPNetworkJsonProtocol {
    /// 水印id
    var id: Int = 0

    /// 水印名称
    var name: String = ""

    /// 照片地址
    var imageUrl: String = ""
    
    /// 模板
    var templateImg: String = ""

    /// 照片数量
    var count: Int = 0

    mutating func mapping(mapper: HelpingMapper) {
        mapper <<< self.id <-- "wm_id"
        mapper <<< self.imageUrl <-- "img_url"
        mapper <<< self.templateImg <-- "template_img"
        mapper <<< self.count <-- "c_num"
    }
}
